package com.itqdkj.health.service;

import com.itqdkj.health.pojo.Member;

import java.util.List;

public interface MemberService {
    /**
     * 根据电话号码判断用户是否为会员
     * @param telephone
     * @return
     */
    Member findByTelephone(String telephone);

    /**
     * 不是会员，自动注册会员
     * @param member
     */
    void add(Member member);

    List<Integer> findMemberCountByMonth(List<String> list);
}
